// 测试界面样式
* {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

body {
    width: 100vw;
    margin: 0 auto;
    background: #f6f7f8;
    font-size: 0;
}

// 第一部分：nav导航栏
.nav {
    position: fixed;
    top: 0;
    left: 0px;
    display: flex;
    justify-content: space-between;
    width: 100vw;
    height: 12vw;
    background-color: #019fe6;
    z-index: 999;

    .left {
        position: relative;
        width: 40vw;
        height: 12vw;
        font: normal normal 4.8vw/13.5vw "Microsoft YaHei";
        text-indent: 10vw;
        text-decoration: none;
        color: #fff;

        &::before {
            content: "";
            position: absolute;
            top: 4vw;
            left: 2vw;
            width: 6vw;
            height: 6vw;
            background: url(../images/首页icon.png) no-repeat center;
            background-size: contain;
        }
    }

    .right {
        position: absolute;
        top: 2vw;
        right: 5vw;
        width: 24vw;
        height: 8vw;
        border-radius: 4vw;
        background-color: rgba(0, 0, 0, .15);
        font: normal normal 3vw/8vw "Microsoft YaHei";
        text-align: center;
        color: #ddd;

        &::before {
            content: "";
            position: absolute;
            top: 1.5vw;
            left: 3vw;
            width: 5vw;
            height: 5vw;
            background: url(../images/更多icon.png) no-repeat center;
            background-size: contain;
        }

        &::after {
            content: "";
            position: absolute;
            top: 2vw;
            right: 4vw;
            width: 4vw;
            height: 4vw;
            background: url(../images/关闭icon.png) no-repeat center;
            background-size: contain;
        }
    }
}

// 第二部分：search
.search {
    position: fixed;
    top: 0vw;
    left: 0;
    display: flex;
    width: 100vw;
    height: 12vw;
    background-color: #ffffff;
    margin: 12vw auto 0;
    z-index: 999;

    .left {
        width: 80vw;
        height: 8vw;
        margin: 2vw;
        border: none;
        outline: none;
        border-radius: 1vw;
        background-color: #f6f7f8;
        font: normal normal 3.6vw/8vw "Microsoft YaHei";
        text-indent: 2vw;
        color: #333;
    }

    .right {
        width: 14vw;
        height: 8vw;
        border: none;
        border-radius: 4vw;
        outline: none;
        background-color: #019fe6;
        color: #fff;
        margin: 2vw 2vw 2vw 0;
        font: normal normal 3.6vw/8vw "Microsoft YaHei";
    }
}

// Tab选择栏
.demo {
    position: fixed;
    top: 24vw;
    left: 0vw;
    display: flex;
    justify-content: space-around;
    width: 100vw;
    height: 12vw;
    background-color: #fff;
    z-index: 999;

    .total {
        width: 49.8vw;
        height: 12vw;
        border-right: 0.2vw solid #f6f7f8;
        background-color: #019fe6;
        font: normal normal 5vw/12vw "Microsoft YaHei";
        text-align: center;
        color: #fff;
    }

    .rank {
        width: 49.8vw;
        height: 12vw;
        border-left: 0.2vw solid #f6f7f8;
        font: normal normal 5vw/12vw "Microsoft YaHei";
        text-align: center;
        color: #333;
    }

}

// 主内容
.main {

    // 数据总览
    #content_1 {
        width: 100vw;
        margin-top: 40vw;

        .template1 {
            width: 100vw;
            margin: 3vw auto;
            background-color: #fff;

            .info {
                display: flex;
                width: 100vw;
                height: 40vw;
                overflow: hidden;
                border-bottom: 0.2vw solid #ccc;

                .left {
                    position: relative;
                    width: 30vw;
                    height: 30vw;
                    margin: 5vw;
                    background: url(../images/商品1.jpg)no-repeat center;
                    background-size: contain;

                }

                .right {
                    width: 60vw;
                    height: 30vw;

                    .name {
                        position: relative;
                        width: 60vw;
                        height: 10vw;
                        margin-top: 2vw;
                        font: normal bold 4.6vw/10vw "Microsoft YaHei";
                        color: #333;

                        &::after {
                            content: "设置";
                            position: absolute;
                            top: 1.5vw;
                            right: 5vw;
                            width: 16vw;
                            height: 7vw;
                            border-radius: 2vw;
                            background-color: #019fe6;
                            font: normal normal 4.6vw/7vw "Microsoft YaHei";
                            text-align: center;
                            color: #fff;
                        }
                    }

                    .belong {
                        position: relative;
                        width: 60vw;
                        height: 8vw;
                        font: normal normal 4vw/8vw "Microsoft YaHei";
                        color: #666;

                        &::after {
                            content: "纳雄耐尔";
                            position: absolute;
                            top: 0;
                            right: 5vw;
                        }
                    }

                    .price1 {
                        position: relative;
                        width: 60vw;
                        height: 8vw;
                        font: normal normal 4vw/8vw "Microsoft YaHei";
                        color: #666;

                        &::after {
                            content: "10.00";
                            position: absolute;
                            top: 0;
                            right: 5vw;
                        }
                    }

                    .price2 {
                        position: relative;
                        width: 60vw;
                        height: 8vw;
                        font: normal bold 4vw/8vw "Microsoft YaHei";
                        color: #ce5654;

                        &::after {
                            content: "99.00";
                            position: absolute;
                            top: 0;
                            right: 5vw;
                        }
                    }

                }
            }
        }

        .template2 {
            width: 100vw;
            margin: 3vw auto;
            background-color: #fff;

            .info {
                display: flex;
                width: 100vw;
                height: 40vw;
                overflow: hidden;
                border-bottom: 0.2vw solid #ccc;

                .left {
                    position: relative;
                    width: 30vw;
                    height: 30vw;
                    margin: 5vw;
                    background: url(../images/商品2.jpg)no-repeat center;
                    background-size: contain;

                }

                .right {
                    width: 60vw;
                    height: 30vw;

                    .name {
                        position: relative;
                        width: 60vw;
                        height: 10vw;
                        margin-top: 2vw;
                        font: normal bold 4.6vw/10vw "Microsoft YaHei";
                        color: #333;

                        &::after {
                            content: "设置";
                            position: absolute;
                            top: 1.5vw;
                            right: 5vw;
                            width: 16vw;
                            height: 7vw;
                            border-radius: 2vw;
                            background-color: #019fe6;
                            font: normal normal 4.6vw/7vw "Microsoft YaHei";
                            text-align: center;
                            color: #fff;
                        }
                    }

                    .belong {
                        position: relative;
                        width: 60vw;
                        height: 8vw;
                        font: normal normal 4vw/8vw "Microsoft YaHei";
                        color: #666;

                        &::after {
                            content: "纳雄耐尔";
                            position: absolute;
                            top: 0;
                            right: 5vw;
                        }
                    }

                    .price1 {
                        position: relative;
                        width: 60vw;
                        height: 8vw;
                        font: normal normal 4vw/8vw "Microsoft YaHei";
                        color: #666;

                        &::after {
                            content: "10.00";
                            position: absolute;
                            top: 0;
                            right: 5vw;
                        }
                    }

                    .price2 {
                        position: relative;
                        width: 60vw;
                        height: 8vw;
                        font: normal bold 4vw/8vw "Microsoft YaHei";
                        color: #ce5654;

                        &::after {
                            content: "99.00";
                            position: absolute;
                            top: 0;
                            right: 5vw;
                        }
                    }

                }
            }
        }

        .template3 {
            width: 100vw;
            margin: 3vw auto;
            background-color: #fff;

            .info {
                display: flex;
                width: 100vw;
                height: 40vw;
                overflow: hidden;
                border-bottom: 0.2vw solid #ccc;

                .left {
                    position: relative;
                    width: 30vw;
                    height: 30vw;
                    margin: 5vw;
                    background: url(../images/商品3.jpg)no-repeat center;
                    background-size: contain;

                }

                .right {
                    width: 60vw;
                    height: 30vw;

                    .name {
                        position: relative;
                        width: 60vw;
                        height: 10vw;
                        margin-top: 2vw;
                        font: normal bold 4.6vw/10vw "Microsoft YaHei";
                        color: #333;

                        &::after {
                            content: "设置";
                            position: absolute;
                            top: 1.5vw;
                            right: 5vw;
                            width: 16vw;
                            height: 7vw;
                            border-radius: 2vw;
                            background-color: #019fe6;
                            font: normal normal 4.6vw/7vw "Microsoft YaHei";
                            text-align: center;
                            color: #fff;
                        }
                    }

                    .belong {
                        position: relative;
                        width: 60vw;
                        height: 8vw;
                        font: normal normal 4vw/8vw "Microsoft YaHei";
                        color: #666;

                        &::after {
                            content: "纳雄耐尔";
                            position: absolute;
                            top: 0;
                            right: 5vw;
                        }
                    }

                    .price1 {
                        position: relative;
                        width: 60vw;
                        height: 8vw;
                        font: normal normal 4vw/8vw "Microsoft YaHei";
                        color: #666;

                        &::after {
                            content: "10.00";
                            position: absolute;
                            top: 0;
                            right: 5vw;
                        }
                    }

                    .price2 {
                        position: relative;
                        width: 60vw;
                        height: 8vw;
                        font: normal bold 4vw/8vw "Microsoft YaHei";
                        color: #ce5654;

                        &::after {
                            content: "99.00";
                            position: absolute;
                            top: 0;
                            right: 5vw;
                        }
                    }

                }
            }
        }

        .template4 {
            width: 100vw;
            margin: 3vw auto;
            background-color: #fff;

            .info {
                display: flex;
                width: 100vw;
                height: 40vw;
                overflow: hidden;
                border-bottom: 0.2vw solid #ccc;

                .left {
                    position: relative;
                    width: 30vw;
                    height: 30vw;
                    margin: 5vw;
                    background: url(../images/商品4.jpg)no-repeat center;
                    background-size: contain;

                }

                .right {
                    width: 60vw;
                    height: 30vw;

                    .name {
                        position: relative;
                        width: 60vw;
                        height: 10vw;
                        margin-top: 2vw;
                        font: normal bold 4.6vw/10vw "Microsoft YaHei";
                        color: #333;

                        &::after {
                            content: "设置";
                            position: absolute;
                            top: 1.5vw;
                            right: 5vw;
                            width: 16vw;
                            height: 7vw;
                            border-radius: 2vw;
                            background-color: #019fe6;
                            font: normal normal 4.6vw/7vw "Microsoft YaHei";
                            text-align: center;
                            color: #fff;
                        }
                    }

                    .belong {
                        position: relative;
                        width: 60vw;
                        height: 8vw;
                        font: normal normal 4vw/8vw "Microsoft YaHei";
                        color: #666;

                        &::after {
                            content: "纳雄耐尔";
                            position: absolute;
                            top: 0;
                            right: 5vw;
                        }
                    }

                    .price1 {
                        position: relative;
                        width: 60vw;
                        height: 8vw;
                        font: normal normal 4vw/8vw "Microsoft YaHei";
                        color: #666;

                        &::after {
                            content: "10.00";
                            position: absolute;
                            top: 0;
                            right: 5vw;
                        }
                    }

                    .price2 {
                        position: relative;
                        width: 60vw;
                        height: 8vw;
                        font: normal bold 4vw/8vw "Microsoft YaHei";
                        color: #ce5654;

                        &::after {
                            content: "99.00";
                            position: absolute;
                            top: 0;
                            right: 5vw;
                        }
                    }

                }
            }
        }

        .template5 {
            width: 100vw;
            margin: 3vw auto;
            background-color: #fff;

            .info {
                display: flex;
                width: 100vw;
                height: 40vw;
                overflow: hidden;
                border-bottom: 0.2vw solid #ccc;

                .left {
                    position: relative;
                    width: 30vw;
                    height: 30vw;
                    margin: 5vw;
                    background: url(../images/商品5.jpg)no-repeat center;
                    background-size: contain;

                }

                .right {
                    width: 60vw;
                    height: 30vw;

                    .name {
                        position: relative;
                        width: 60vw;
                        height: 10vw;
                        margin-top: 2vw;
                        font: normal bold 4.6vw/10vw "Microsoft YaHei";
                        color: #333;

                        &::after {
                            content: "设置";
                            position: absolute;
                            top: 1.5vw;
                            right: 5vw;
                            width: 16vw;
                            height: 7vw;
                            border-radius: 2vw;
                            background-color: #019fe6;
                            font: normal normal 4.6vw/7vw "Microsoft YaHei";
                            text-align: center;
                            color: #fff;
                        }
                    }

                    .belong {
                        position: relative;
                        width: 60vw;
                        height: 8vw;
                        font: normal normal 4vw/8vw "Microsoft YaHei";
                        color: #666;

                        &::after {
                            content: "纳雄耐尔";
                            position: absolute;
                            top: 0;
                            right: 5vw;
                        }
                    }

                    .price1 {
                        position: relative;
                        width: 60vw;
                        height: 8vw;
                        font: normal normal 4vw/8vw "Microsoft YaHei";
                        color: #666;

                        &::after {
                            content: "10.00";
                            position: absolute;
                            top: 0;
                            right: 5vw;
                        }
                    }

                    .price2 {
                        position: relative;
                        width: 60vw;
                        height: 8vw;
                        font: normal bold 4vw/8vw "Microsoft YaHei";
                        color: #ce5654;

                        &::after {
                            content: "99.00";
                            position: absolute;
                            top: 0;
                            right: 5vw;
                        }
                    }

                }
            }
        }

        // 第五部分：代理设置功能
        .set {
            display: none;
            position: fixed;
            left: 0vw;
            bottom: 0vw;
            width: 100vw;
            height: 38vw;
            background-color: #fff;
            z-index: 999;

            li {
                width: 100vw;
                height: 12vw;
                border-bottom: 0.2vw solid #f6f7f8;

                a {
                    display: block;
                    width: 100vw;
                    height: 12vw;
                    font: normal normal 5vw/12vw "Microsoft YaHei";
                    text-decoration: none;
                    text-align: center;
                    color: #333;
                }
            }
        }
    }

    // 商家统计
    #content_2 {
        width: 100vw;
        margin-top: 40vw;

        .plan {
            width: 95vw;
            margin: 3vw auto;
            border-radius: 2vw;
            background-color: #fff;

            .name {
                position: relative;
                width: 95vw;
                height: 10vw;
                border-bottom: 0.2vw solid #f6f7f8;
                font: normal bold 4.6vw/10vw "Microsoft YaHei";
                text-indent: 5vw;
                color: #000;

                &::after {
                    content: "设置";
                    position: absolute;
                    top: 1.5vw;
                    right: 5vw;
                    width: 15vw;
                    height: 7vw;
                    background-color: #019fe6;
                    border-radius: 2vw;
                    font: normal normal 4.6vw/7vw "Microsoft YaHei";
                    text-indent: 0vw;
                    text-align: center;
                    color: #fff;
                }
            }

            .belong {
                position: relative;
                width: 95vw;
                height: 8vw;
                font: normal normal 4.6vw/8vw "Microsoft YaHei";
                text-indent: 5vw;
                color: #999;

                &::after {
                    content: "纳雄耐尔";
                    position: absolute;
                    top: 0;
                    right: 5vw;
                    color: #333;
                }
            }

            .type {
                position: relative;
                width: 95vw;
                height: 8vw;
                font: normal normal 4.6vw/8vw "Microsoft YaHei";
                text-indent: 5vw;
                color: #999;

                &::after {
                    content: "10口电池款";
                    position: absolute;
                    top: 0;
                    right: 5vw;
                    color: #333;
                }
            }

            .time {
                position: relative;
                width: 95vw;
                height: 8vw;
                font: normal normal 4.6vw/8vw "Microsoft YaHei";
                text-indent: 5vw;
                color: #999;

                &::after {
                    content: "2022/07/14  12:00:59";
                    position: absolute;
                    top: 0;
                    right: 5vw;
                    color: #333;
                }
            }
        }

        // 第五部分：代理设置功能
        .set {
            display: none;
            position: fixed;
            left: 0vw;
            bottom: 0vw;
            width: 100vw;
            height: 62vw;
            background-color: #fff;
            z-index: 999;
            text-decoration: none;

            li {
                width: 100vw;
                height: 12vw;
                border-bottom: 0.2vw solid #f6f7f8;

                a {
                    display: block;
                    width: 100vw;
                    height: 12vw;
                    font: normal normal 5vw/12vw "Microsoft YaHei";
                    text-decoration: none;
                    text-align: center;
                    color: #333;
                }
            }
        }
    }
}

// 底部--模块
.footer {
    position: fixed;
    right: 5vw;
    bottom: 10vw;
    display: block;
    width: 14vw;
    height: 14vw;
    border-radius: 7vw;
    box-shadow: 0vw 0 0.5vw 0.5vw #019fe6;
    background: #019fe6 url(../images/加号.png) no-repeat center;
    background-size: contain;
}